package api

import (
	"github.com/gogf/gf/v2/frame/g"
	"lot_admin_api/internal/model"
)

// UserListReq 获取用户列表
type UserListReq struct {
	g.Meta  `path:"/user/list" tags:"用户模块" method:"get" summary:"获取用户列表"`
	KeyWord string `json:"keyWord" dc:"姓名,手机号查询"`
	Id      string `json:"Id" dc:"用户id查询"`
	*model.Paging
}

// UserInfoReq 通过用户Id获取用户详情
type UserInfoReq struct {
	g.Meta `path:"/user/info" tags:"用户模块" method:"get" summary:"通过用户Id获取用户详情"`
	*model.UserIdReq
}

// GiveUserMoneyReq 赠送用户金额
type GiveUserMoneyReq struct {
	g.Meta `path:"/user/give-money" tags:"用户模块" method:"post" summary:"赠送用户金额"`
	*model.GiftAmount
}

// GiveUserCouponReq 赠送用户优惠券
type GiveUserCouponReq struct {
	g.Meta `path:"/user/give-coupon" tags:"用户模块" method:"post" summary:"赠送用户优惠券(暂未开发)"`
	*model.GiftAmount
}
